/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiof.moraa.server.service;

/**
 * @author Bergy
 */
public class BroadcastMessageService {

    SendMessageService sendMessageService;

    public void setSendMessageService(SendMessageService sendMessageService) {
        this.sendMessageService = sendMessageService;
    }

    /*    public void sendMessageToRelevantUser(Map<String, String> messages) {
        for (Map.Entry<String, String> message : messages.entrySet()) {
            sendMessageService.sendMessageToBuddy(message.getKey(), message.getValue());
        }
    }*/

    public void broadcastMessageToBrowser(String message) {
        sendMessageService.sendMessageToBrowser(message);
    }
}
